﻿using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InventoryToPredictAPI.model
{
    public class UserCategoryManagerModel
    {
        /// <summary>
        /// 用户列表
        /// </summary>
        public class UserList
        {
            public int UserID { get; set; }
            public string UserName { get; set; }
            public string UserNo { get; set; }
            public string UserCode { get; set; }


        }
        /// <summary>
        /// 类别列表
        /// </summary>
        public class CategoryList
        {
            public int KindID { get; set; }
            public string KindName { get; set; }
        }

        public class UserCategoryManagerList
        {
            public int UserID { get; set; }
            public string UserName { get; set; }
            public string KindID { get; set; }
            public string KindName { get; set; }
            public int JurisdictionID { get; set; }
            public string ExtrSource { get; set; }
            public string CompanyID { get; set; }
            public int? ParentID { get; set; }
            public string EtlDate { get; set; }
            public string LoadTime { get; set; }
            public bool? IsSelect { get; set; }
        }
        //保存列表
        public class ModifyData
        {
            [ParamDescription("用户ID")]
            public int UserID { get; set; }
            [ParamDescription("店铺列表")]
            public IList<string> CategoryList { get; set; }

            //[ParamDescription("用户ID")]
            //public int UserID { get; set; }
            //[ParamDescription(" 类别列表")]
            //public string [] CategoryList { get; set; }
            //public IList<UserCategoryManagerList> CategoryList { get; set; }
        }
    }
}
